<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: qx::QxModelService&lt; T, S &gt; Class Template Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classqx_1_1_qx_model_service.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">qx::QxModelService&lt; T, S &gt; Class Template Reference<div class="ingroups"><a class="el" href="group___qx_model_view.html">QxModelView : All classes registered into QxOrm context can be used with Qt model/view architecture (Qt widgets and/or QML views)</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="qx::QxModelService" --><!-- doxytag: inherits="qx::QxModel" -->
<p>qx::QxModelService&lt;T, S&gt; : provides an easy way to connect your model to the QxService module (all queries are executed over network using client/server communication)  
 <a href="classqx_1_1_qx_model_service.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for qx::QxModelService&lt; T, S &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classqx_1_1_qx_model_service.png" usemap="#qx::QxModelService&lt; T, S &gt;_map" alt=""/>
  <map id="qx::QxModelService&lt; T, S &gt;_map" name="qx::QxModelService&lt; T, S &gt;_map">
<area href="classqx_1_1_qx_model.html" title="qx::QxModel&lt;T&gt; : all classes registered into QxOrm context can be used with Qt model/view architectur..." alt="qx::QxModel&lt; T &gt;" shape="rect" coords="0,56,173,80"/>
<area href="classqx_1_1_ix_model.html" title="qx::IxModel : interface to manage Qt model/view architecture with classes registered into QxOrm conte..." alt="qx::IxModel" shape="rect" coords="0,0,173,24"/>
</map>
 </div></div>

<p><a href="classqx_1_1_qx_model_service-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classqx_1_1_qx_model.html">qx::QxModel</a>&lt; T &gt;::<a class="el" href="classqx_1_1_qx_model.html#aef823670a8fc66b5d0c8d887034b45a6">type_ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a8e6a0368bc703bee2560d26f09394307">type_ptr</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classqx_1_1_qx_model.html">qx::QxModel</a>&lt; T &gt;<br class="typebreak"/>
::<a class="el" href="classqx_1_1_qx_model.html#a2d1a76e9a19ad15e645dbd6605fa7f3f">type_primary_key</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a0d5fd09e07ea3fb6842b8791d0a57a2a">type_primary_key</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classqx_1_1_qx_model.html">qx::QxModel</a>&lt; T &gt;<br class="typebreak"/>
::<a class="el" href="classqx_1_1_qx_model.html#aaaf8416f552f17d358c8ad844bb7e66f">type_collection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a6d75075388005f70fc8a7a91688f5f66">type_collection</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef qx_shared_ptr<br class="typebreak"/>
&lt; <a class="el" href="classqx_1_1_qx_model.html#aaaf8416f552f17d358c8ad844bb7e66f">type_collection</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a7ba010bbbc7b618d435ebcc0c1311d64">type_collection_ptr</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a1688aa8534663d3421929ad4ba6d97a6">QxModelService</a> (QObject *parent=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#aaa786fe09c16abb2b8afe9a6ff1724ab">QxModelService</a> (<a class="el" href="classqx_1_1_ix_model.html">qx::IxModel</a> *other, QObject *parent)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a29bad6d326434428ad4c9178b621e284">~QxModelService</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#ae46142dd9ed9c6823af1a0e2461b68f5">qxCount</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query=<a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>(), QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of lines in the table (database) mapped to the C++ class T (registered into QxOrm context) and filtered by a user SQL query.  <a href="#ae46142dd9ed9c6823af1a0e2461b68f5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#ac86f8537fd4c156bd3c8af5e61e8405d">qxCount</a> (long &amp;lCount, const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query=<a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>(), QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of lines in the table (database) mapped to the C++ class T (registered into QxOrm context) and filtered by a user SQL query.  <a href="#ac86f8537fd4c156bd3c8af5e61e8405d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a4da259fab037cc8286d14f05c349ce34">qxFetchById</a> (const QVariant &amp;id, const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the model and fetch an object (retrieve all its properties) of type T (registered into QxOrm context) mapped to a table in the database.  <a href="#a4da259fab037cc8286d14f05c349ce34"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a5c5bb6677c6f194c7a2ae3f2a453cdb1">qxFetchAll</a> (const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the model and fetch a list of objects (retrieve all elements and properties associated) of type T (container registered into QxOrm context) mapped to a table in the database.  <a href="#a5c5bb6677c6f194c7a2ae3f2a453cdb1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#ae1e8e0770048a3d9a1c65224525907c8">qxFetchByQuery</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query, const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the model and fetch a list of objects (retrieve all elements and properties associated) of type T (container registered into QxOrm context) mapped to a table in the database and filtered by a user SQL query.  <a href="#ae1e8e0770048a3d9a1c65224525907c8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#ae5ed4a8ed5892f150f4bd3f2a2647be8">qxFetchRow</a> (int row, const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an item in the model at line row and fetch all its properties mapped to a table in the database, then all views attached to this model are automatically updated.  <a href="#ae5ed4a8ed5892f150f4bd3f2a2647be8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a977df8c09bc3e41acb9f9b7aad93ad25">qxInsert</a> (const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert all items in the model into database.  <a href="#a977df8c09bc3e41acb9f9b7aad93ad25"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a7141746bcb32da616d9a1bf70930c72b">qxInsertRow</a> (int row, const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert an item of the model at line row into database.  <a href="#a7141746bcb32da616d9a1bf70930c72b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a3f2536e90532a95b95f3e4184d75fbbb">qxUpdate</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query=<a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>(), const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update all items in the model into database.  <a href="#a3f2536e90532a95b95f3e4184d75fbbb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a6223f182711b842d1f27796931e3b3c5">qxUpdateRow</a> (int row, const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query=<a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>(), const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update an item of the model at line row into database.  <a href="#a6223f182711b842d1f27796931e3b3c5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a59ef8ce2d68d0c1daceac25775bf7e58">qxSave</a> (const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Save all items (insert or update) in the model into database.  <a href="#a59ef8ce2d68d0c1daceac25775bf7e58"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#ae3f074858ae605e76d09d0b363aaaa83">qxSaveRow</a> (int row, const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Save an item of the model at line row into database.  <a href="#ae3f074858ae605e76d09d0b363aaaa83"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a0694dc6874ef422e64f8545953f318af">qxDeleteById</a> (const QVariant &amp;id, QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete a line of a table (database) mapped to a C++ object of type T (registered into QxOrm context), if no error occurred then you should remove row from the model.  <a href="#a0694dc6874ef422e64f8545953f318af"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#ac8e4ad35f6724cbeb390f51328ca2847">qxDeleteAll</a> (QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete all lines of a table (database) mapped to a C++ class T (registered into QxOrm context), if no error occurred then you should clear the model.  <a href="#ac8e4ad35f6724cbeb390f51328ca2847"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a56c614063256f28d9c5ec1154e3923d3">qxDeleteByQuery</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query, QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete all lines of a table (database) mapped to a C++ class T (registered into QxOrm context) and filtered by a user SQL query, if no error occurred then you should refresh the model.  <a href="#a56c614063256f28d9c5ec1154e3923d3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#ad716687570e642cc8945209cbca5f654">qxDeleteRow</a> (int row, QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete in database the item at line row in the model, if no error occurred then you should remove row from the model.  <a href="#ad716687570e642cc8945209cbca5f654"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a667c3df48ce891808338d982a013bf91">qxDestroyById</a> (const QVariant &amp;id, QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete a line of a table (even if a logical delete is defined) mapped to a C++ object of type T (registered into QxOrm context), if no error occurred then you should remove row from the model.  <a href="#a667c3df48ce891808338d982a013bf91"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a6318e827bad56e4f0a3a63102452ce68">qxDestroyAll</a> (QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete all lines of a table (even if a logical delete is defined) mapped to a C++ class T (registered into QxOrm context), if no error occurred then you should clear the model.  <a href="#a6318e827bad56e4f0a3a63102452ce68"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a5181ca7717672d35d93021286e142e12">qxDestroyByQuery</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query, QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete all lines of a table (even if a logical delete is defined) mapped to a C++ class T (registered into QxOrm context) and filtered by a user SQL query, if no error occurred then you should refresh the model.  <a href="#a5181ca7717672d35d93021286e142e12"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#a3b0c73818a2354f2f61e8795f2d4f3cf">qxDestroyRow</a> (int row, QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete in database (even if a logical delete is defined) the item at line row in the model, if no error occurred then you should remove row from the model.  <a href="#a3b0c73818a2354f2f61e8795f2d4f3cf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#ace0e30235c884481010a1a967959aae5">qxExecuteQuery</a> (<a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query, QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#ab6684e19a712b3426aa82742097785c7">qxExist</a> (const QVariant &amp;id, QSqlDatabase *pDatabase=NULL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classqx_1_1_qx_invalid_value_x.html">qx::QxInvalidValueX</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#afe3fcf1f096a4ca66b3e1dc4c6417691">qxValidate</a> (const QStringList &amp;groups=QStringList())</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classqx_1_1_qx_invalid_value_x.html">qx::QxInvalidValueX</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#afaeda251b47b90fa15f65009de330639">qxValidateRow</a> (int row, const QStringList &amp;groups=QStringList())</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QVariant&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_qx_model_service.html#ae917e68b8da8d5ad7901dcea932e8759">getRelationshipValues_Helper</a> (int row, const QString &amp;relation, bool bLoadFromDatabase, const QString &amp;sAppendRelations)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;class T, class S&gt;<br/>
class qx::QxModelService&lt; T, S &gt;</h3>

<p>qx::QxModelService&lt;T, S&gt; : provides an easy way to connect your model to the QxService module (all queries are executed over network using client/server communication) </p>
<p>T template parameter is a persistent class registered into QxOrm context S template parameter is a service class generated by QxEntityEditor (or your own service class providing all methods) </p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00058">58</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a6d75075388005f70fc8a7a91688f5f66"></a><!-- doxytag: member="qx::QxModelService::type_collection" ref="a6d75075388005f70fc8a7a91688f5f66" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classqx_1_1_qx_model.html">qx::QxModel</a>&lt;T&gt;::<a class="el" href="classqx_1_1_qx_model.html#aaaf8416f552f17d358c8ad844bb7e66f">type_collection</a> <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::<a class="el" href="classqx_1_1_qx_model.html#aaaf8416f552f17d358c8ad844bb7e66f">type_collection</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#aaaf8416f552f17d358c8ad844bb7e66f">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00065">65</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7ba010bbbc7b618d435ebcc0c1311d64"></a><!-- doxytag: member="qx::QxModelService::type_collection_ptr" ref="a7ba010bbbc7b618d435ebcc0c1311d64" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef qx_shared_ptr&lt;<a class="el" href="classqx_1_1_qx_model.html#aaaf8416f552f17d358c8ad844bb7e66f">type_collection</a>&gt; <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::<a class="el" href="classqx_1_1_qx_model_service.html#a7ba010bbbc7b618d435ebcc0c1311d64">type_collection_ptr</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00066">66</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0d5fd09e07ea3fb6842b8791d0a57a2a"></a><!-- doxytag: member="qx::QxModelService::type_primary_key" ref="a0d5fd09e07ea3fb6842b8791d0a57a2a" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classqx_1_1_qx_model.html">qx::QxModel</a>&lt;T&gt;::<a class="el" href="classqx_1_1_qx_model.html#a2d1a76e9a19ad15e645dbd6605fa7f3f">type_primary_key</a> <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::<a class="el" href="classqx_1_1_qx_model.html#a2d1a76e9a19ad15e645dbd6605fa7f3f">type_primary_key</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a2d1a76e9a19ad15e645dbd6605fa7f3f">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00064">64</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8e6a0368bc703bee2560d26f09394307"></a><!-- doxytag: member="qx::QxModelService::type_ptr" ref="a8e6a0368bc703bee2560d26f09394307" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classqx_1_1_qx_model.html">qx::QxModel</a>&lt;T&gt;::<a class="el" href="classqx_1_1_qx_model.html#aef823670a8fc66b5d0c8d887034b45a6">type_ptr</a> <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::<a class="el" href="classqx_1_1_qx_model.html#aef823670a8fc66b5d0c8d887034b45a6">type_ptr</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#aef823670a8fc66b5d0c8d887034b45a6">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00063">63</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1688aa8534663d3421929ad4ba6d97a6"></a><!-- doxytag: member="qx::QxModelService::QxModelService" ref="a1688aa8534663d3421929ad4ba6d97a6" args="(QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::<a class="el" href="classqx_1_1_qx_model_service.html">QxModelService</a> </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00070">70</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="aaa786fe09c16abb2b8afe9a6ff1724ab"></a><!-- doxytag: member="qx::QxModelService::QxModelService" ref="aaa786fe09c16abb2b8afe9a6ff1724ab" args="(qx::IxModel *other, QObject *parent)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::<a class="el" href="classqx_1_1_qx_model_service.html">QxModelService</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1_ix_model.html">qx::IxModel</a> *&#160;</td>
          <td class="paramname"><em>other</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00071">71</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a29bad6d326434428ad4c9178b621e284"></a><!-- doxytag: member="qx::QxModelService::~QxModelService" ref="a29bad6d326434428ad4c9178b621e284" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::~<a class="el" href="classqx_1_1_qx_model_service.html">QxModelService</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00072">72</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae917e68b8da8d5ad7901dcea932e8759"></a><!-- doxytag: member="qx::QxModelService::getRelationshipValues_Helper" ref="ae917e68b8da8d5ad7901dcea932e8759" args="(int row, const QString &amp;relation, bool bLoadFromDatabase, const QString &amp;sAppendRelations)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QVariant <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::getRelationshipValues_Helper </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>relation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bLoadFromDatabase</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>sAppendRelations</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a1147896b5ae49b7df7bdcf0db903728d">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00383">383</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae46142dd9ed9c6823af1a0e2461b68f5"></a><!-- doxytag: member="qx::QxModelService::qxCount" ref="ae46142dd9ed9c6823af1a0e2461b68f5" args="(const qx::QxSqlQuery &amp;query=qx::QxSqlQuery(), QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual long <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxCount </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em> = <code><a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the number of lines in the table (database) mapped to the C++ class T (registered into QxOrm context) and filtered by a user SQL query. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">query</td><td>Define a user SQL query added to default SQL query builded by QxOrm library (optional parameter) </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#ab543c16cd10277f7c9c4231cf4857801">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00074">74</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac86f8537fd4c156bd3c8af5e61e8405d"></a><!-- doxytag: member="qx::QxModelService::qxCount" ref="ac86f8537fd4c156bd3c8af5e61e8405d" args="(long &amp;lCount, const qx::QxSqlQuery &amp;query=qx::QxSqlQuery(), QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxCount </td>
          <td>(</td>
          <td class="paramtype">long &amp;&#160;</td>
          <td class="paramname"><em>lCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em> = <code><a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the number of lines in the table (database) mapped to the C++ class T (registered into QxOrm context) and filtered by a user SQL query. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">lCount</td><td>Output parameter with the number of lines in the table associated to the SQL query </td></tr>
    <tr><td class="paramname">query</td><td>Define a user SQL query added to default SQL query builded by QxOrm library (optional parameter) </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#ac62fc3913e4662c103db997c848afd1a">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00081">81</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac8e4ad35f6724cbeb390f51328ca2847"></a><!-- doxytag: member="qx::QxModelService::qxDeleteAll" ref="ac8e4ad35f6724cbeb390f51328ca2847" args="(QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxDeleteAll </td>
          <td>(</td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Delete all lines of a table (database) mapped to a C++ class T (registered into QxOrm context), if no error occurred then you should clear the model. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a011b3409d8acc14a074629cf024f0ca3">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00263">263</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0694dc6874ef422e64f8545953f318af"></a><!-- doxytag: member="qx::QxModelService::qxDeleteById" ref="a0694dc6874ef422e64f8545953f318af" args="(const QVariant &amp;id, QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxDeleteById </td>
          <td>(</td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Delete a line of a table (database) mapped to a C++ object of type T (registered into QxOrm context), if no error occurred then you should remove row from the model. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>Row id to be deleted from database </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#ad2ea10ec9cd2b43f1ef9e1d0e324e564">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00250">250</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a56c614063256f28d9c5ec1154e3923d3"></a><!-- doxytag: member="qx::QxModelService::qxDeleteByQuery" ref="a56c614063256f28d9c5ec1154e3923d3" args="(const qx::QxSqlQuery &amp;query, QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxDeleteByQuery </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Delete all lines of a table (database) mapped to a C++ class T (registered into QxOrm context) and filtered by a user SQL query, if no error occurred then you should refresh the model. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">query</td><td>Define a user SQL query added to default SQL query builded by QxOrm library </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a87b34ae02a5ef623534230c2cb82ec87">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00271">271</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad716687570e642cc8945209cbca5f654"></a><!-- doxytag: member="qx::QxModelService::qxDeleteRow" ref="ad716687570e642cc8945209cbca5f654" args="(int row, QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxDeleteRow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Delete in database the item at line row in the model, if no error occurred then you should remove row from the model. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">row</td><td>Delete in database the item in the model at line row </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a5650b97f0190a6a044e95185f7f329c6">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00279">279</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6318e827bad56e4f0a3a63102452ce68"></a><!-- doxytag: member="qx::QxModelService::qxDestroyAll" ref="a6318e827bad56e4f0a3a63102452ce68" args="(QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxDestroyAll </td>
          <td>(</td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Delete all lines of a table (even if a logical delete is defined) mapped to a C++ class T (registered into QxOrm context), if no error occurred then you should clear the model. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a3461b11d9fd96e205613edeaeba069e7">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00303">303</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a667c3df48ce891808338d982a013bf91"></a><!-- doxytag: member="qx::QxModelService::qxDestroyById" ref="a667c3df48ce891808338d982a013bf91" args="(const QVariant &amp;id, QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxDestroyById </td>
          <td>(</td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Delete a line of a table (even if a logical delete is defined) mapped to a C++ object of type T (registered into QxOrm context), if no error occurred then you should remove row from the model. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>Row id to be deleted from database </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a4e8d847120cab3c823d97253daa9cabf">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00290">290</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5181ca7717672d35d93021286e142e12"></a><!-- doxytag: member="qx::QxModelService::qxDestroyByQuery" ref="a5181ca7717672d35d93021286e142e12" args="(const qx::QxSqlQuery &amp;query, QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxDestroyByQuery </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Delete all lines of a table (even if a logical delete is defined) mapped to a C++ class T (registered into QxOrm context) and filtered by a user SQL query, if no error occurred then you should refresh the model. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">query</td><td>Define a user SQL query added to default SQL query builded by QxOrm library </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#ab23d15ff34b124f383960d8948285877">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00311">311</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3b0c73818a2354f2f61e8795f2d4f3cf"></a><!-- doxytag: member="qx::QxModelService::qxDestroyRow" ref="a3b0c73818a2354f2f61e8795f2d4f3cf" args="(int row, QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxDestroyRow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Delete in database (even if a logical delete is defined) the item at line row in the model, if no error occurred then you should remove row from the model. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">row</td><td>Delete in database the item in the model at line row </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a4b533b2f1f8634db23101e7a21d7ea06">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00319">319</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="ace0e30235c884481010a1a967959aae5"></a><!-- doxytag: member="qx::QxModelService::qxExecuteQuery" ref="ace0e30235c884481010a1a967959aae5" args="(qx::QxSqlQuery &amp;query, QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxExecuteQuery </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#ab11ea058c052afca523b3a49eaeb75ea">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00330">330</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab6684e19a712b3426aa82742097785c7"></a><!-- doxytag: member="qx::QxModelService::qxExist" ref="ab6684e19a712b3426aa82742097785c7" args="(const QVariant &amp;id, QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a> <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxExist </td>
          <td>(</td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a500a9bb91d16b10af29419d738e398b9">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00347">347</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5c5bb6677c6f194c7a2ae3f2a453cdb1"></a><!-- doxytag: member="qx::QxModelService::qxFetchAll" ref="a5c5bb6677c6f194c7a2ae3f2a453cdb1" args="(const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxFetchAll </td>
          <td>(</td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clear the model and fetch a list of objects (retrieve all elements and properties associated) of type T (container registered into QxOrm context) mapped to a table in the database. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">relation</td><td>List of relationships keys to be fetched (eager fetch instead of default lazy fetch for a relation) : use "|" separator to put many relationships keys into this parameter </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a859860c6ada5c046f2f2d8fbdb5ebc60">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00109">109</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4da259fab037cc8286d14f05c349ce34"></a><!-- doxytag: member="qx::QxModelService::qxFetchById" ref="a4da259fab037cc8286d14f05c349ce34" args="(const QVariant &amp;id, const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxFetchById </td>
          <td>(</td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clear the model and fetch an object (retrieve all its properties) of type T (registered into QxOrm context) mapped to a table in the database. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>Row id to be fetched (retrieve all properties from database) </td></tr>
    <tr><td class="paramname">relation</td><td>List of relationships keys to be fetched (eager fetch instead of default lazy fetch for a relation) : use "|" separator to put many relationships keys into this parameter </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a6b29016768ce825825912d21f2791e4f">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00089">89</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae1e8e0770048a3d9a1c65224525907c8"></a><!-- doxytag: member="qx::QxModelService::qxFetchByQuery" ref="ae1e8e0770048a3d9a1c65224525907c8" args="(const qx::QxSqlQuery &amp;query, const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxFetchByQuery </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clear the model and fetch a list of objects (retrieve all elements and properties associated) of type T (container registered into QxOrm context) mapped to a table in the database and filtered by a user SQL query. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">query</td><td>Define a user SQL query added to default SQL query builded by QxOrm library </td></tr>
    <tr><td class="paramname">relation</td><td>List of relationships keys to be fetched (eager fetch instead of default lazy fetch for a relation) : use "|" separator to put many relationships keys into this parameter </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#aee84c03d9c6e703224f7537bd96c9707">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00126">126</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae5ed4a8ed5892f150f4bd3f2a2647be8"></a><!-- doxytag: member="qx::QxModelService::qxFetchRow" ref="ae5ed4a8ed5892f150f4bd3f2a2647be8" args="(int row, const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxFetchRow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get an item in the model at line row and fetch all its properties mapped to a table in the database, then all views attached to this model are automatically updated. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">row</td><td>Get an item in the model at line row </td></tr>
    <tr><td class="paramname">relation</td><td>List of relationships keys to be fetched (eager fetch instead of default lazy fetch for a relation) : use "|" separator to put many relationships keys into this parameter </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a92d80b8a5a9afa7b8d3389d1c8a5d35f">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00143">143</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a977df8c09bc3e41acb9f9b7aad93ad25"></a><!-- doxytag: member="qx::QxModelService::qxInsert" ref="a977df8c09bc3e41acb9f9b7aad93ad25" args="(const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxInsert </td>
          <td>(</td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Insert all items in the model into database. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">relation</td><td>List of relationships keys to be inserted in others tables of database : use "|" separator to put many relationships keys into this parameter </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a2c5e298517e16c9fc8b241fe77e9b27a">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00160">160</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7141746bcb32da616d9a1bf70930c72b"></a><!-- doxytag: member="qx::QxModelService::qxInsertRow" ref="a7141746bcb32da616d9a1bf70930c72b" args="(int row, const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxInsertRow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Insert an item of the model at line row into database. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">row</td><td>Insert an item in the model at line row </td></tr>
    <tr><td class="paramname">relation</td><td>List of relationships keys to be inserted in others tables of database : use "|" separator to put many relationships keys into this parameter </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a93b788ce05b2eed6acb163547d0a3176">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00176">176</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a59ef8ce2d68d0c1daceac25775bf7e58"></a><!-- doxytag: member="qx::QxModelService::qxSave" ref="a59ef8ce2d68d0c1daceac25775bf7e58" args="(const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxSave </td>
          <td>(</td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Save all items (insert or update) in the model into database. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">relation</td><td>List of relationships keys to be inserted in others tables of database : use "|" separator to put many relationships keys into this parameter </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a996a650f41e2b871975cea5d1d5c10f5">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00220">220</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae3f074858ae605e76d09d0b363aaaa83"></a><!-- doxytag: member="qx::QxModelService::qxSaveRow" ref="ae3f074858ae605e76d09d0b363aaaa83" args="(int row, const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxSaveRow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Save an item of the model at line row into database. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">row</td><td>Save an item (insert or update) in the model at line row </td></tr>
    <tr><td class="paramname">relation</td><td>List of relationships keys to be inserted in others tables of database : use "|" separator to put many relationships keys into this parameter </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a6c2d4497957d25bacebd440047d3ba59">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00236">236</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3f2536e90532a95b95f3e4184d75fbbb"></a><!-- doxytag: member="qx::QxModelService::qxUpdate" ref="a3f2536e90532a95b95f3e4184d75fbbb" args="(const qx::QxSqlQuery &amp;query=qx::QxSqlQuery(), const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxUpdate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em> = <code><a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update all items in the model into database. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">query</td><td>Define a user SQL query added to default SQL query builded by QxOrm library </td></tr>
    <tr><td class="paramname">relation</td><td>List of relationships keys to be inserted in others tables of database : use "|" separator to put many relationships keys into this parameter </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#aca89226b12bea5293216506376e6ae79">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00190">190</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6223f182711b842d1f27796931e3b3c5"></a><!-- doxytag: member="qx::QxModelService::qxUpdateRow" ref="a6223f182711b842d1f27796931e3b3c5" args="(int row, const qx::QxSqlQuery &amp;query=qx::QxSqlQuery(), const QStringList &amp;relation=QStringList(), QSqlDatabase *pDatabase=NULL)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxUpdateRow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em> = <code><a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QSqlDatabase *&#160;</td>
          <td class="paramname"><em>pDatabase</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update an item of the model at line row into database. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">row</td><td>Update an item in the model at line row </td></tr>
    <tr><td class="paramname">query</td><td>Define a user SQL query added to default SQL query builded by QxOrm library </td></tr>
    <tr><td class="paramname">relation</td><td>List of relationships keys to be inserted in others tables of database : use "|" separator to put many relationships keys into this parameter </td></tr>
    <tr><td class="paramname">pDatabase</td><td>Connection to database (you can manage your own connection pool for example, you can also define a transaction, etc.); if NULL, a valid connection for the current thread is provided by <a class="el" href="classqx_1_1_qx_sql_database.html" title="qx::QxSqlDatabase : define all parameters to connect to database and retrieve a valid connection by t...">qx::QxSqlDatabase</a> singleton class (optional parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Empty QSqlError object (from Qt library) if no error occurred; otherwise QSqlError contains a description of database error executing SQL query </dd></dl>

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#ad4e848b1a9bc24cb724a9416fd1d76a0">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00206">206</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="afe3fcf1f096a4ca66b3e1dc4c6417691"></a><!-- doxytag: member="qx::QxModelService::qxValidate" ref="afe3fcf1f096a4ca66b3e1dc4c6417691" args="(const QStringList &amp;groups=QStringList())" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classqx_1_1_qx_invalid_value_x.html">qx::QxInvalidValueX</a> <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxValidate </td>
          <td>(</td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>groups</em> = <code>QStringList()</code></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a7279b0e10759bb15a2eb7eea039cf6b0">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00359">359</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<a class="anchor" id="afaeda251b47b90fa15f65009de330639"></a><!-- doxytag: member="qx::QxModelService::qxValidateRow" ref="afaeda251b47b90fa15f65009de330639" args="(int row, const QStringList &amp;groups=QStringList())" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class S &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classqx_1_1_qx_invalid_value_x.html">qx::QxInvalidValueX</a> <a class="el" href="classqx_1_1_qx_model_service.html">qx::QxModelService</a>&lt; T, S &gt;::qxValidateRow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>row</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>groups</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="classqx_1_1_qx_model.html#a07b99c4460be4408413166b06492ef3d">qx::QxModel&lt; T &gt;</a>.</p>

<p>Definition at line <a class="el" href="_qx_model_service_8h_source.html#l00369">369</a> of file <a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Dvlp/_Perso/QxOrm/include/QxModelView/<a class="el" href="_qx_model_service_8h_source.html">QxModelService.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceqx.html">qx</a>      </li>
      <li class="navelem"><a class="el" href="classqx_1_1_qx_model_service.html">QxModelService</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:16 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
